import request from '@/utils/request'

// 币种兑换配置列表
export async function coinExPage(params) {
  const res = await request({
    url: '/Coin/coinExPage',
    method: 'post',
    params
  })
  return res
}

// 新增编辑币种兑换配置
export async function coinExEdit(data) {
  const res = await request({
    url: '/Coin/coinExEdit',
    method: 'post',
    data
  })
  return res
}

// 启用禁用币种
export async function coinExState(params) {
  const res = await request({
    url: '/Coin/coinExState',
    method: 'post',
    params
  })
  return res
}

// 币种兑换记录
export async function coinExRecord(params) {
  const res = await request({
    url: '/Coin/coinExRecord',
    method: 'post',
    params
  })
  return res
}

